package com.wjc.demo.cglibProxy;

/**
 * @description: TODO
 * @author: wzj
 * @create: 2019/3/19 17:28
 */
public class Main {
    public static void main(String[] args) {
        TargetObject targetObject=new TargetObject();
        TargetObjectProxy targetObjectProxy=new TargetObjectProxy();
        TargetObject targetObject1=(TargetObject)targetObjectProxy.getInstance(targetObject);
        targetObject1.add();
        targetObject1.add2();
        targetObject1.add3();
    }
}
